package com.techshine.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class SpringViesController {
    @RequestMapping("/login")
    public String login(){
        System.out.println("Hello SpringMVC!");
        return "/back/login";
    }
    @RequestMapping("/index")
    public String index(){
        System.out.println("Hello SpringMVC!");
        return "/back/index";
    }
    @RequestMapping("/menulist")
    public String menulist(){
        System.out.println("Hello SpringMVC!");
        return "/back/menulist";
    }
    @RequestMapping("/equlist")
    public String equlist(){
        System.out.println("Hello SpringMVC!");
        return "/back/equlist";
    }
    @RequestMapping("/newslist")
    public String newslist(){
        System.out.println("Hello SpringMVC!");
        return "/back/newslist";
    }
    @RequestMapping("/msglist")
    public String msglist(){
        System.out.println("Hello SpringMVC!");
        return "/back/msglist";
    }
    @RequestMapping("/myfilelist")
    public String myfilelist(){
        System.out.println("Hello SpringMVC!");
        return "/back/myfilelist";
    }
    @RequestMapping("/sys")
    public String sys(){
        System.out.println("Hello SpringMVC!");
        return "/back/sys";
    }

    @RequestMapping("/menuadd")
    public String menuadd(){
        System.out.println("Hello SpringMVC!");
        return "/back/menuadd";
    }
    @RequestMapping("/equadd")
    public String equadd(){
        System.out.println("Hello SpringMVC!");
        return "/back/equadd";
    }

    @RequestMapping("/newsadd")
    public String newsadd(){
        System.out.println("Hello SpringMVC!");
        return "/back/newsadd";
    }
    @RequestMapping("/myfileadd")
    public String myfileadd(){
        System.out.println("Hello SpringMVC!");
        return "/back/myfileadd";
    }

}
